home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sys / RCS / ttychars.h,v < prev    next >
Text File  |  1989-07-14  |  2KB  |  111 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.3
  10. date     89.07.14.09.15.37;  author rab;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     88.06.29.14.48.23;  author ouster;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     88.06.21.16.12.57;  author ouster;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @*** empty log message ***
  32. @
  33. text
  34. @/*
  35.  * Copyright (c) 1982, 1986 Regents of the University of California.
  36.  * All rights reserved.  The Berkeley software License Agreement
  37.  * specifies the terms and conditions for redistribution.
  38.  *
  39.  *    @@(#)ttychars.h    7.2 (Berkeley) 12/18/87
  40.  */
  41.  
  42. /*
  43.  * User visible structures and constants
  44.  * related to terminal handling.
  45.  */
  46. #ifndef _TTYCHARS
  47. #define    _TTYCHARS
  48. struct ttychars {
  49.     char    tc_erase;    /* erase last character */
  50.     char    tc_kill;    /* erase entire line */
  51.     char    tc_intrc;    /* interrupt */
  52.     char    tc_quitc;    /* quit */
  53.     char    tc_startc;    /* start output */
  54.     char    tc_stopc;    /* stop output */
  55.     char    tc_eofc;    /* end-of-file */
  56.     char    tc_brkc;    /* input delimiter (like nl) */
  57.     char    tc_suspc;    /* stop process signal */
  58.     char    tc_dsuspc;    /* delayed stop process signal */
  59.     char    tc_rprntc;    /* reprint line */
  60.     char    tc_flushc;    /* flush output (toggles) */
  61.     char    tc_werasc;    /* word erase */
  62.     char    tc_lnextc;    /* literal next character */
  63. };
  64.  
  65. #define    CTRL(c)    (c&037)
  66.  
  67. /* default special characters */
  68. #define    CERASE    0177
  69. #define    CKILL    CTRL('u')
  70. #define    CINTR    CTRL('c')
  71. #define    CQUIT    034        /* FS, ^\ */
  72. #define    CSTART    CTRL('q')
  73. #define    CSTOP    CTRL('s')
  74. #define    CEOF    CTRL('d')
  75. #define    CEOT    CEOF
  76. #define    CBRK    0377
  77. #define    CSUSP    CTRL('z')
  78. #define    CDSUSP    CTRL('y')
  79. #define    CRPRNT    CTRL('r')
  80. #define    CFLUSH    CTRL('o')
  81. #define    CWERASE    CTRL('w')
  82. #define    CLNEXT    CTRL('v')
  83. #endif /* _TTYCHARS */
  84. @
  85.  
  86.  
  87. 1.2
  88. log
  89. @Add ifdefs to prevent files from being included multiple times.
  90. @
  91. text
  92. @d50 1
  93. a50 1
  94. #endif _TTYCHARS
  95. @
  96.  
  97.  
  98. 1.1
  99. log
  100. @Initial revision
  101. @
  102. text
  103. @d13 2
  104. a14 2
  105. #ifndef _TTYCHARS_
  106. #define    _TTYCHARS_
  107. d50 1
  108. a50 1
  109. #endif
  110. @
  111.